<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body class="body">
	
	<jsp:include page="include/top.jsp"></jsp:include>
	
	<div class="container">
	  <div class="row">
		<jsp:include page="include/left.jsp"></jsp:include>
		<div class="span9">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					<a href="idea.html"><i class="icon-fire"></i>想法</a>>${idea.title}
				</li>
				
			</ul>
			<div class="wall">
				  <div class="page-header">
					<h3>${idea.title}&nbsp;&nbsp;<small>${idea.username}发布于 ${idea.createtime}</small></h3>
				  </div>
				  <p>${idea.note}.</p>
				  
				  <div class="line">
					评论
				  </div>
				  <form action="ideaComment.jspx?ideaid=${idea.ideaid}" method="post">
					<textarea name="content" id="" class="span8" rows="5"></textarea>
					<br/>
					<button class="btn" type="submit">发布</button>
				  </form>
				 
				<c:forEach items="${icList}" var="icList">
					<blockquote>
					  ${icList.content }
					  <small>
						${icList.username}发布于${icList.createtime}
						<a href="" title="编辑"><i class="icon-pencil"></i></a>
					    <a href="delIcServlet.jspx?idid=${icList.id}" title="删除"><i class="icon-trash"></i></a>
					  </small>
					  
					</blockquote>
				</c:forEach>
				<a href="idea.jspx">←返回想法列表</a>
			</div>
		</div>
	  </div>
	</div>
</body>
</html>